package ast;

import java.util.ArrayList;
import java.util.List;

public class ListDatum implements Expression {

	private List<Expression> data = new ArrayList<>();
	private Expression daumAfterDot;

	public List<Expression> getData() {
		return data;
	}

	public Expression getDatumAfterDot() {
		return daumAfterDot;
	}

	public void setDatumAfterDot(Expression daumAfterDot) {
		this.daumAfterDot = daumAfterDot;
	}

	@Override
	public void accept(Visitor visitor) {
		visitor.visitListDatum(this);
	}

}
